import React, { Component } from 'react'
import EventsBus from '../utils/EventsBus'
export class B extends Component {
    componentDidMount(){
        EventsBus.addListener("obj",(data)=>{
            console.log(data);
        })
    }
    render() {
        return (
            <div>
                B
            </div>
        )
    }
}

export default B
